import { createRouter, createWebHistory } from 'vue-router';
import HomeView from '../views/HomePage.vue';

const router = createRouter({
    history: createWebHistory(import.meta.env.BASE_URL),
    routes: [
        {
            path: '/',
            name: 'home',
            component: HomeView
        },
        {
            path: '/about',
            name: 'about',
            component: () => import('../views/AboutPage.vue')
        },
        {
            path: '/index',
            name: 'index',
            component: () => import('../views/Index.vue')
        },
        {
            path: '/print',
            name: 'print',
            component: () => import('../views/Prints.vue')
        },
        {
            path: '/unocss',
            name: 'unocss',
            component: () => import('../views/unocss.vue')
        }
    ]
});

export default router;
